def isEqual(num1, num2):
    if num1 < num2:
        print('too small');
        return False;
    elif num1 > num2:
        print('too big');
        return False;
    else:
        print('bingo');
        return True;

from random import randint
num = randint(1, 100)
print('Guess what I thing')
bingo = False
while bingo == False:
    answer = int(input())
    bingo = isEqual(answer, num)
    
